.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.medcard {
  display: flex;
  align-items: left;
  justify-content: center;
  flex-direction: column;
  width: 70%;
}

.medinfo {
  border: 2px solid black;
  padding: 1.5rem;
  margin: 1rem;
  max-height: 20rem;
  overflow: hidden;
  background-color: white;
}

.expanded {
  max-height: none;
}

.medname {
  margin: 1rem 0;
  color: rgb(44, 44, 202);
}

.meddesc {
  margin: 0 0 0 1rem;
}

#searchbar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 3rem;
  border: 2px solid black;
  width: 68.5%;
  border-radius: 5rem;
  background-color: white;
}

#search {
  width: 92%;
  background-color: white;
  color: black;
  font-size: 1rem;
  padding: 1rem 0;
  font-weight: 600;
  border: none;
  outline: none;
  border-radius: 5rem;

}

h4 {
  color: rgb(64, 64, 168);
}

@media only screen and (max-width: 700px) {
  .medcard{
    width: 90%;
  }

  #searchbar{
    width: 85%;
  }
}
